﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EntityLayer;
using DataLayer.DAO;
namespace DataLayer.DAO
{
   public class clsT_CargoDAO
    {
        private BDCONTRALORIAEntities ContextoDeObjs = new BDCONTRALORIAEntities();

        public List<T_Cargos> listarCargo()
        {
            List<T_Cargos> lista = new List<T_Cargos>();
            var q = from c in ContextoDeObjs.T_Cargos
                    select c;
            lista = q.ToList();
            return lista;
        }
    }
}
